// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    min-width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// .router-link-active .el-menu-item.is-active{
//     background-color: rgb(18 122 215) !important;
// }
// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-button--primary {
  background: #476ae8;
  border-color: #476ae8;
  box-shadow: 0px 2px 5px 0px #a6b9fe;
  color: #fff !important;
}
.add.el-button {
  padding: 7px 35px;
}
.el-button--small {
  padding: 7px 23px;
}
.el-button--default {
  // box-shadow: 0px 2px 5px 0px #dadada;
  border: 1px solid #476ae8;
  color: #476ae8;
}
.el-button--primary:hover {
  opacity: 0.8;
  background: #476ae8;
  border-color: #476ae8;
}
.el-button--primary:focus {
  opacity: 0.8;
  background: #476ae8;
  border-color: #476ae8;
}
.el-button.circle {
  border-radius: 15px;
  //   box-shadow: 0px 2px 5px 0px #a6b9fe;
}
.el-dialog {
  border-radius: 4px;
  .el-dialog__header {
    padding: 0px 0;
    .el-dialog__title {
      // border-left: 4px solid #5086FC;
      font-size: 15px;
      display: inline-block;
      width: 100%;
      padding: 10px 15px;
      border-bottom: 1px solid #eeeeee;
      font-weight: 600;
      // padding-left: 20px;
    }
    .el-dialog__title:before {
      content: " ";
      position: absolute;
      left: 0;
      width: 4px;
      height: 22px;
      background: #5086fc;
    }
    .el-icon-close:before {
      content: "";
      position: absolute;
      top: -4px;
      right: -8px;
    }
  }
  .el-dialog__body {
    padding: 15px;
  }
  .dialog-footer {
    text-align: center;
  }
}
.el-dialog__body {
  max-height: 600px;
  overflow: auto;
}
.el-dialog__footer .dialog-footer {
  text-align: center;
}
// 弹窗滚动条
.el-dialog__body::-webkit-scrollbar-track {
  background-color: #f5f7fa;
}

.el-dialog__body::-webkit-scrollbar {
  width: 8px;
}

.el-dialog__body::-webkit-scrollbar-thumb {
  background-color: #ababab;
  border-radius: 5px;
}

// 表格滚动条
.el-table__body-wrapper::-webkit-scrollbar-track {
  background-color: #f5f7fa;
}

.el-table__body-wrapper::-webkit-scrollbar {
  width: 7px;
  height: 8px;
}

.el-table__body-wrapper::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 5px;
}
.el-tabs__item {
  color: #999999;
  font-size: 14px;
}
.el-tabs__item.is-active {
  color: #397fff;
  font-weight: 600;
}
.el-table th {
  background: #eff2fa;
  color: #535353;
}
.el-message-box {
  .el-message-box__header {
    .el-message-box__title {
      font-size: 15px;
      font-weight: 600;
    }
  }
  .el-message-box__title:before {
    content: " ";
    position: absolute;
    left: 0;
    width: 4px;
    height: 22px;
    background: #5086fc;
    top: 12px;
  }
  .el-message-box__btns {
    text-align: center;
  }
}
.el-image-viewer__close .el-icon-circle-close {
  color: #fff;
}
.el-radio {
  margin-right: 50px;
}
.el-radio__input.is-checked .el-radio__inner {
  border-color: #284ed7;
  background: #284ed7;
}
.el-radio__label {
  color: #333333 !important;
}
.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #284ed7;
  border-color: #284ed7;
}
.el-message-box__content {
  padding: 10px 35px;
  font-size: 14px;
  color: #444444;
}
.selfForm .el-input__inner {
  width: 240px;
}
.dialogForm .el-input__inner {
  width: 200px;
}
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #284ed7;
}
.el-message {
  box-shadow: 1px 2px 4px #c7c7c7;
  background: #fff;
  border-color: #fff;
}
.el-table__fixed {
  bottom: 0 !important;
}
.el-table__fixed {
  bottom: 0 !important;
}
.el-table__fixed-right {
  bottom: 0 !important;
}
.page-form .el-tag {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  .el-select__tags-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
  }
}
